package demo1;

import java.util.Scanner;

public class Scanner用户输入 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个整数：");
        int age = scanner.nextInt();
        System.out.println("请输入一段祝福语：");
        String wish = scanner.next();
        System.out.println("您今年" + age + "岁了，wishing you a " + wish);
    }
}
